package cn.aitstone.org.service;

import cn.aitstone.org.domain.Shop;
import cn.aitstone.basic.service.IBaseService;
import cn.aitstone.org.domain.ShopAuditLog;

import javax.mail.MessagingException;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Sheldon
 * @since 2022-07-01
 */
public interface IShopService extends IBaseService<Shop> {

    void settlement(Shop shop);

    void reject(ShopAuditLog shopAuditLog) throws MessagingException;

    void pass(ShopAuditLog shopAuditLog) throws MessagingException;

    Map<String, Object> loadShopEchartsData();

    void refuse(ShopAuditLog shopAuditLog) throws MessagingException;

    String activate(Long id);
}
